home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 4 / BBS in a Box - Macintosh - Volume IV (January 1992) (BBS in a Box).iso / Files / Prog / T / TURBO CONFER < prev    next >
Encoding:
Text File  |  1987-06-15  |  19.3 KB  |  349 lines  |  [TEXT/MACA]

  1. Copyright 1987 by Borland International and MCU, Inc. 
  2. All rights reserved.
  3.  
  4. Transcript of the conference held 6/5/87 in the CompuServe
  5. Convention Center sponsored by MAUG(tm) and Borland International
  6. on "Exploring Mac Turbo Pascal"
  7.  
  8. (Neil/SYSOP) We have online with us representatives from Borland to help...
  9.     us all in uncerstanding how to use Turbo Pascal for.....
  10.     the Macintosh! We will also, I HOPE, have Jim Friedlander from
  11.     Apple later and David Ushijima from MacWorld. Right now we have...
  12.     Philippe Kahn, David Intersimone, Anders Heijlsberg and
  13.     Larry Kraft from Borland!
  14.     First I want to turn it over to Philippe Kahn for any....
  15.     opening remarks and then for any opening remarks from any...
  16.     other panel member!
  17.     Philippe, want to start off with a comment or two? Go ahead!
  18. (Philippe Kahn) OK, thanks, I'm pretty happy to be there
  19.     in such great company. 
  20.     As we said many times we have an total on-going
  21.     commitment to the Mac Intosh.
  22.     Our company is known for beeing the industry leader
  23.     in compiler technology, and
  24.     we are working real hard in bringing all
  25.     of this cutting edge technology to the Mac. It's very
  26.     exciting to us, as the Mac is the symbol of
  27.     innovation. A machine that's so
  28.     advanced, it's easy to use. So I think
  29.     that we are going to have a great conference. Let's
  30.     just go for it!
  31. (David I(Borland)) Let's have fun, ask us questions, give us suggestions.  We are
  32.     hard at work on many things.  Our compiler developer, Anders
  33.     Heilsberg is here.
  34.     It is a very exciting time, the Mac II is now shipping, we have
  35.     the new machines and are hard at work.
  36.     It's been real fun working with developers and APple.
  37. (Neil/SYSOP) Larry Kraft tells me that they took a couple questions in advance...
  38.     over on the Borland Forums. So I am going to turn it over to...
  39.     Joe who Larry says has those questions. Joe, please keep them brief though.
  40. (Joe S(Borland)) What are main differences between Turbo Pascal and... 
  41.     MPW Pascal?
  42. (David I(Borland)) Turbo Pascal is very similar to MPW Pascal, we support separate
  43.     compilation via units.
  44.     We support the entire mac toolbox.  Of course we are much faster.
  45.     Out units are binary copies, MPW units are sort of like include
  46.     files.  We don't support LEAVE,CYCLE, segments in a unit.
  47. (Joe S(Borland)) Is it possible to enhance Turbo Pascal's File I/O by using File
  48.     Manager calls with Turbo File variables? ga
  49. (Anders H(Borland)) Yes, the Mac File System handle is stored in the Pascal file variable.
  50.     In fact, the layout of the file variable record is shown in the manual.
  51.     Just pick up the handle, and pass it to the Mac IO System.
  52. (Joe S(Borland)) I set the $D+ directive but I still can't see procedure 
  53.     labels with TMON? oga
  54. (Anders H(Borland)) I take it this occurs when you run a program in memory. TMON (and others)
  55.     look for CODE resources to figure out which parts of memory are code,
  56.     but when we run in memory, the code is not really resources, but rather
  57.     just handles with code in them. TMON doesn't know this, so it can't
  58.     find the code labels.
  59. (Neil/SYSOP) Joe, we will get back to the advance questions later on but...
  60.     I see we have some questions in the queue so let's take them now as...
  61.     we are almost a half hour gone...
  62.     With that let me take the first question from our online audience
  63. (Clark Kent) I mentioned several suggested improvements and bug fixes over the past
  64.     few months.  The most critical one is what is planned regarding
  65.     improving the ability of TP to run on the MAC 2.  Any hints?  Will
  66.     TP use the coprocessor with the SANE or with some other (preferable)
  67.     environment?
  68. (David I(Borland)) We now have the interface unit source code form Apple for the new
  69.     macintosh roms.  We also have a patched version of Turbo Pascal that
  70.     gets around a bug in the Apple ROMs.  As soon as we've finished integrating
  71.     the new interface code, we will have a version that fixes some bugs, gives
  72.     access to the new rom and system routines, and runs on the Mac II.
  73.     Right now access to the 68881 will be through SANE.  You can do
  74.     inline floating point instructions.  We are looking at more
  75.     support for direct hardware in future versions of the compiler.
  76. (cheryl peterson OLT) Do you plan to support objects in Turbo? If so, when? At extra cost?
  77. (David I(Borland)) We are looking into Objects for Pascal.  DO you really want
  78.     it for development or just for MacApp?  It is on the list
  79.     but other things are more important - we think.
  80. (cheryl peterson OLT) To develop modules to be used in MacApp. (grin)
  81. (Louis Kahn) I would like to know if there is a better program out there to use to create Resources,
  82.     than  RMaker? I have had troubles with it.
  83. (Anders H(Borland)) ResEdit is nice! It allows you to create and modify almost any resource
  84.     type interactively. There is a shareware desk acc called ResPeek that
  85.     decompiles resources quickly and easily.
  86. (David I(Borland)) ResPeek is available fvia download from MacDev forum.  ga.
  87. (Neil/SYSOP) A plug!! Thanks! <grin>
  88. (Louis Kahn) Does that help with Menu creation?
  89.     That is my problem with Rmaker.
  90. (Anders H(Borland)) Yes, you can do it interactively. ga
  91. (DTS) Hi there, we are from Developer Technical Support.  Jim F. couldn't make it,
  92.     so he asked us to take his place.  I'm Bo3b Johnson, and we have Scott Zimmerman here too.
  93.     Just for accuracy,the MPW pascal has a $Load feature that allows you to have
  94.     precompiled units, making the compile very fast.  (not as fast as Turbo, though).
  95.     The big win in turbo is the speed at which it links (MPW linker is way slower)
  96.     and the launch speed.  Turnaround is thus much faster.
  97.     There are some other subtle differences in the languages, like not being able
  98.     to type coerce in the middle of expressions and so on, but overall they are
  99.     very compatible.
  100. (John Link) Does TP generate native code or P code?
  101. (Anders H(Borland)) It generates native code. ga
  102. (Karl Armstrong) will you be releasing toolboxes (like IBM TP) ? If so when?
  103. (David I(Borland)) We're thinking - PK is getting to a machine
  104. (Philippe) Well, should I say that we don't comment on un-announced
  105.     products?
  106. (Neil/SYSOP) Nah! People will think you are Jean-Louis!
  107. (Philippe) Or should I just say that we have a consistent language
  108.     strategy, and that it includes
  109.     providing complete solutions to our users. I guess, that
  110.     our users will have a feww nice surprises through the year.
  111.     But as we all know, good software takes time, and vaporware
  112.     doesn't help users, and I've been already talking
  113.     too much, our PR manager is unplugging
  114.     my keyboard, help!!!!!!!!!!!!!!
  115. (Mike Babulic) I'd like Objects too (& MacAPP) ... but I'd also like .REL or Assembler output
  116.      & a compiler switch that turns string constants a into STR# resource.
  117.     (STR# switch would save a lot of "housekeeping for lazy folks like me). ga
  118. (David I(Borland)) We are considering the object support.  Giving off REL files
  119.     are too slow for our compiler.  You can look at the code we
  120.     generate with any debugger or MacNosy.  Why do you
  121.     need rel files?  to link with other languages?  We link in
  122.     REL files via the $L directive.
  123.     We are a compiler, not a Compiler/Rmaker.  You want extensions
  124.     to the directives so we build complete resource files right
  125.     in without the RMAKER, REZ step.  It is not in the plan now,
  126.     but I'll put it on the list for consideration.  ga
  127. (cheryl peterson OLT) Now that Commodore has shot themselves in the foot again, does Borland still
  128.     plan to come up with an Amiga Turbo Pascal? ga
  129. (David I(Borland)) Welllllllllllll.....  Right now we are working on IBM PC and
  130.     Mac versions of the compiler. ga
  131. (macworld) I see BorlanI see Borland as being in a very interesting
  132.     position in that they have a professional programming
  133.     environment in both the DOS and the Mac worlds. Will
  134.     they use this power to make PC apps more mac-like? ga
  135. (David I(Borland)) As we move into the next operating system on the IBM PC with
  136.     multitasking and a graphics presentation environment we will
  137.     all see a cross fertilization of software development.  What
  138.     was happening in the past was that PC programmers went to
  139.     the mac beacuse they could get the user interfaces and the
  140.     support they needed in the toolbox routines.
  141.     Our PC products already have pull down menus and windows in
  142.     text and graphics modes.  So the answer is a definite YES.ga
  143. (Dennis Cohen) There are a number of subtle differences between the Pascal compilers for
  144.     the Mac that make me use all of them; the ones I would most like to see added
  145.     to TP are:  smart linker, source-level debugging, segmentation in units.
  146.     The order of the above are reversed.  What are my prospects of being happy
  147.     and using TP even more than I do now?
  148. (David I(Borland)) THose are the three suggestions that are at the top of the list.
  149.     We are hard at work here - except now where we are typing and
  150.     eating pizza.  but the other times we are working not sleeping.
  151.     You won't be dissappoiinted.
  152. (Neil/SYSOP) Anchovies, I hope?
  153. (David I(Borland)) This is santa cruz, it is all vegetarian and healthy.  I just
  154.     wanted to mention to everyone that Anders Heilsberg who is
  155.     online here is here from our Denmark office.  He is the author
  156.     of all versions of Turbo Pascal, CPM, DOS, and Mac.  A great
  157.     accomplishment in a 40k fast compiler.  He is a great guy. ga
  158. (Neil/SYSOP) (West Coast pizza -- ick!)
  159. (L. Kahn (Kahn Enter) Will turbo pascal work with softguard protection systems.  ie: will my
  160.     mac app work after I load the copy protection system?
  161. (David I(Borland)) Well, we don't like copy protection.  It isn't a word in our
  162.     Turbo Lightning dictionary.  But we don't do anything crazy or
  163.     special that would cause the protection scheme to have troubles.
  164.     I asked anders, and his translator couldn't handle Copy
  165.     protection - grin.  He speaks wonderful english.
  166.  
  167. <The transcripter pressed the wrong macro here, and lost a few lines of text>
  168.  
  169. (Clark Kent) short circuit boolean expressions. functions which can return
  170.     types other than simple types (toolbox types cell, rect etc.)
  171.     better program examples.  Are any of these being considered?
  172. (Anders H(Borland)) Yes, they are being considered.
  173. (Neil/SYSOP) Anders that did not come across... Did you have an answer?
  174. (David I(Borland)) Anders, answered, yes they are being ocnsidered.  Thanks for the
  175.     suggestions, Clark.  It is great to be able to talk to users and
  176.     developers.  In fact, I will be at MacHack in Ann Arbor to talk
  177.     to Mac hackers about what they want.  Philippe will be at the
  178.     MacWorld technical conference next week in san francisco for
  179.     just the same reason.  We love to hear from people and try to
  180.     respond with enhancements to the product.  Thanks again.  GA
  181. (Karl Armstrong) Any comment on a possible VIP translator ?
  182.     I am refering to the one from the VIP people.
  183. (Philippe Kahn) Well, the question was whether VIP will generate 
  184.     TP code. And the answer is:.......
  185.     .............
  186.     .............
  187.     .....................
  188.     It's out of our control, but Mainstay says
  189.     that they are doing it!. Please go and 
  190.     ask your friendly Apple dealer for a copy
  191.     of that beautiful product (once it
  192.     generates TP source of course!)
  193.     Good enough?
  194. (Karl Armstrong) YES , THANKS
  195. (Mike Babulic) Sorry to be such a pest Davisd I. but in answer to your question,
  196.     the reason I wanted .REL file output was so I could
  197.     import the neat things I develop (so quickly) in TURBO, to the other languages
  198.     I'm forced to use from time to time (like C - bleach!). I'ts nice to be able to
  199.     use the same libraries in every environment.
  200.     BTW -- ANDERS -- the beer in Denmark is wonderful. ga
  201. (Anders H(Borland)) That's why I drink so much of it!
  202. (Mike Babulic) XMas beer? or Elephant beer?
  203. (Philippe Kahn) BTW, he's not as fat as I am although
  204.     he drinks a lot of Danish beer. Why is
  205.     life so unfair? Jim Baker, do you
  206.     have an answer for me???
  207. (David I(Borland)) It isn't in the current plans to give off REL files, but We'll
  208.     look into it.  Glad you like the compiler.  But I usually stick
  209.     to Pascal.  C  is a write only language full of minefields.  ga
  210. (Anders H(Borland)) Continuing on my favourite topic: No i drink Green Tuborg or Carlsberg's
  211.     Black Gold. ga
  212. (Neil/SYSOP) Well, let's froth onward....
  213. (Dennis Cohen) I would like to chime in for Bo3b and the others at DTS (and as
  214.     someone who argued long and loud to get my
  215.     employer to drop copy protection that the surest way
  216.     that I have found to make any program on the Mac incompatible with
  217.     a new System or new hardware is to use copy-protection such
  218.     as that provided by Softguard (which we used to use).
  219.     This is in response to a question raised earlier that I could nt let pass. ga
  220. (David I(Borland)) We agree here with your view.  While I have a moment I
  221.     would like to thank the employees at Apple, especially
  222.     tech support that have helped us get Turbo Mac out.
  223.     I've heard that many of the guys at DTS love Turbo.
  224.     Everyone out there should see the compilation speed on
  225.      A MAC II - just don't blink.  ga
  226. (Dennis Cohen) It's even faster on a Prodigy.
  227. (L. Kahn (Kahn Enter) Why wasn't Borland at Comdex, and will you be there in Los Vegas?
  228.      also
  229.     Just to protect myself, if I don't copy protect, will my software be safe?
  230. (David I(Borland)) If you copy protect your software it will be very safe,
  231.     because nobody will buy it.  Copy protection is a pain.
  232.     It penalizes the good users, and the bad guys will
  233.     break the copy protection anyway.  Don't do it!!!
  234.     Please!!!
  235.     We will be at Comdex Las Vegas (Lost Wages - I lost my wallet)
  236.     last year.
  237. (L. Kahn (Kahn Enter) I think   will leave
  238.     out copy protection if you feel that strong about it
  239. (George Wong) I'm planning a programming project with some others...and they prefer to use LightSpeed C. What's the best way for use to work it
  240.     out? It would be nice if we could share compiled code.. or should we wait for some
  241.     unannounced product?... (maybe Turbo C for the mac)
  242. (Anders H(Borland)) It's hard to share code with LS, since we do not use the same
  243.     link/unit/module formats. You can do tricks (such as moving around
  244.     code resources) but it is really a bad solution.
  245. (David I(Borland)) I would never wait for an unnanounced product.
  246.     If you have work to do chose the best tool for the job.
  247.     Turbo Pascal is the best tool.
  248. (Matthew) I have heard that there is a new version of Turbo Pascal
  249.     coming out soon (within the next quarter). Is that true?
  250. (David I(Borland)) OK, I did mention earlier that we are going to put
  251.     out a version that supports the new rom routines in
  252.     the mac II with the code I got from Apple Licensing.
  253.     It will also contain a patch to get around a bug in
  254.     the MAC II roms where the color window manager info
  255.     is not saved.  We will let users know about the version
  256.     when it is available.  It should be within the next
  257.     two months.
  258.     Beyond that we are working on a lot of stuff in the
  259.     Turbo Mac compiler, but as they say "We will sell no
  260.     software before its time."
  261. (Neil/SYSOP) Joe still has some advance questions to ask...
  262. (Joe S(Borland)) I am used to typed constants (pre-initialized variables) on IBM Turbo.  I have two basic questions: 1) What prevents the implementation of 
  263.     the StuffHex procedure to init. my structures.  Could you go into how this is done?...  
  264. (Anders H(Borland)) First of all, typed constants require support of initialized data
  265.     by the linker and the Mac. Usually, on the Mac, initialized data is in
  266.     resources - these are handles that float around in the heap, which
  267.     cannot be referred to in the same way as variables.
  268.     We are looking into a solution for the next version.
  269.     The StuffHex procedure is useful for initializing arrays of simple types,
  270.     where you can directly figure out the hex values. It doesn't
  271.     work very well with reals and structures.
  272. (L. Kahn (Kahn Enter) Will the Pas Interfaces that I received from APDA with my IM 5 work with
  273.     TP ok? I haven't tried it yet? (I have the Alpha Version, I don't know if
  274.     a later one exists yet? Date 03/10/87)
  275. (David I(Borland)) I got a beta-1 version.  I'm going to do it here.  YOu have to change several things
  276.     in the interface units for Turbo Compatibility.
  277.     Reasons:
  278.     we put the external definitions in the interface section.
  279.     MPW pascal puts them in the implementation section.
  280.     SO you could do it yourself after making the mods and
  281.     then use the Unit Mover to put them into the
  282.     compiler or reference them from external unit
  283.     libraries.  Go Ahead DTS!!!!
  284. (DTS) Well, we had these Mac IIs for awhile before announcement,
  285.     withoutwithout waiting all of our lifes to compile.
  286.     So we used the turbo pascal to compile a color QD unit that we used
  287.     UnitMover to put into the program itself.  voila,
  288.     a development system foir color quickdraw.  Worked great.!
  289. (David I(Borland)) That will work well for the public interfaces that
  290.     have inline trap calls.  FOr the routines that need
  291.     assembly language glue code, you would have to
  292.     convert the MPW assembler source code to MDS
  293.     assembler source code and reassemble.  But you can
  294.     go ahead and work with the MPW alpha and beta
  295.     pascal interface libraries for color quickdraw and
  296.     several other interface routines.  ga
  297. (DTS) right.  For most things the simple MPW interfaces work out ok.  For the
  298.     Not in Rom routines, you have to use Inline assembly or the MDS conversion
  299.     route.  Not too bad though.  ga
  300. (L. Kahn (Kahn Enter) I am confuses....
  301.     Can I use the Interface without mods. or not?
  302. (David I(Borland)) just move the inline code from the procedure
  303.     declaration in the implementation section and
  304.     put it in the procedure delcaration in the
  305.     interface section of a unit.  That is the only
  306.     change for procedures and functions that use
  307.     inline trap calls and inline assembler.  ga
  308. (L. Kahn (Kahn Enter) Thanks will do.
  309. (Leo Kuhn) I am new in here, and i just like to know 
  310.     wether turbopascal is running on the Mac II
  311. (David I(Borland)) It is running on my mac II here at Borland and at
  312.     Apple computer with a patch that we came up with
  313.     for a bug in the Mac ROMs.  This patch will be part
  314.     of the next version of Turbo that includes the new
  315.     interface units that I got from Apple.
  316.     While I have the floor, I want to mention that
  317.     in our SIG (GO BORPRO) in the Turbo Mac
  318.     library, there is a packit III file called CODEF.PIT
  319.     that allows programmers to define and use their
  320.     own code definitions, LDEFs, WDEFs, desk accessory
  321.     headers, etc.  Also there is an IBM compatibility
  322.     unit so if you a re converting IBM code.  It is
  323.     called COMPAT.INC in Data Library 5.
  324. (LKraft) Awrite, David.  'bout time BorPro got a plug!
  325. (Leo Kuhn) any idea about upgrade policy ?
  326. (David I(Borland)) Don't know specifics because we haven't figured it out.
  327.     But in the past our upgrades of this kind were "almost
  328.     free".  We will keep you informed via compuserve on
  329.     our BORPRO SIG and all the mac sigs.  ga
  330. (DTS)   First off, thanks for Turbo Pascal.  It is wonderful for the type of
  331.     things that we do here, test programs, verification of bugs, 
  332.     general funprogramming.
  333.     Second,
  334.     has a lot of stuff about compatibility.  Copy protection.
  335.     is bad in that respect.
  336. (anders h(borland)) Thanks guys! I really enjoy working with the Mac - it's hard when
  337.     I am back on the PC. The Mac is so much cleaner and so much more
  338.     powerful (fun). Also, thank's for all your help in making Mac Turbo
  339.     possible. ga
  340. (Neil/SYSOP) OK!!!!
  341.     In closing....
  342.     I'd just like to thank everyone here on behalf of the whole...
  343.     online community. Not only for making such fine products and offering...
  344.     the usual fine support... But for coming online here to reach out...
  345.     to users in a very direct way. Philippe, David and everyone, thanks
  346.     again!
  347.  
  348. <And the conference ended, to thunderous applause>